﻿@using WaterRevenueMS.WebUI.Extension.MvcHelper
@using WaterRevenueMS.Domain.ViewModels.BasicSet.MeterType
@model MeterTypeModel

@using (Html.BeginForm("Edit", "MeterType", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{
@Html.HiddenFor(t => t.Id)
<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>类型名称 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Yi_BLX, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Yi_BLX)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>类型代码 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Lei_XDM, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Lei_XDM)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
        通讯协议 :
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.Tong_XXY, Model.ProtocolItems, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Tong_XXY)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>排序序号 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.OrderNo, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.OrderNo)
    </div>
</div>
}
